package NoteHomework;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

public class Editor {
    private AnswerChecker checker;

    @Autowired
    @Qualifier("checker03")
    public void setChecker(AnswerChecker checker){this.checker=checker;}

    public AnswerChecker getChecker(){return checker;}

    public void AnswerCheck() {
        checker.checkAnswer();
    }
}
